package com.itheima.mp.domain.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: XJH
 * @Description: TODO
 * @Date: 2025/6/14 22:22
 * @Version: 1.0
 */
@Data
@AllArgsConstructor(staticName = "of")
//User user = User.of(1, "张三", 20);	语义明确，支持扩展
@NoArgsConstructor
public class UserInfo {
    private Integer age;
    private String intro;
    private String gender;
}
